<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
        <meta name="description" content="节日是闪耀的瞬间，生命的喧嚣沉寂，人们获得自由的契机，展现自己的本真，追求无拘无束的欢愉。">
        <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
        <meta http-equiv="Access-Control-Allow-Origin" content="*">
        <title>创作节庆贺卡</title>
        <script src="/apps/js/baidu-tongji-mtx.js"></script>
        <link rel="stylesheet" href="/apps/css/weui.min-2.6.4.css"/>
        <style>
            body{
                background-image: url('https://totemlife.cn/apps/public/background-ededed.png');
                background-repeat: no-repeat; background-size: 100% 100%;
                background-position: center center; background-size: cover; -o-background-size: cover;
                -webkit-background-size: cover; -moz-background-size: cover;
                padding-bottom: 100px; min-height: 100vh; display: flex; flex-direction: column;
            };
            .page{ min-height: 100vh; }
            .weui-msg{ min-height: 100vh; background-color:rgb(255,255,255,0); }
        </style>
    </head>
    <body ontouchstart style="background-image:url('https://totemlife.cn/apps/default-image?code=gray-bg');">
            <form method="POST" action="/apps/show-card">
                <div class="weui-cells weui-cells_form">
                    <div class="weui-cells__title">{{tips}}</div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <label class="weui-label">主题</label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-textarea" name="title" placeholder="贺卡标题，例如：祝马老师生日快乐" value="{{title}}">
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <label class="weui-label">贺语</label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-textarea" name="message" placeholder="文字如诗，诠释你的祝福" value="{{message}}">
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <label class="weui-label">签名</label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="text" name="description" placeholder="昵称、姓名啥都行" value="{{description}}">
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <label class="weui-label">注释</label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-textarea" name="comment" placeholder="文字如诗，诠释你的祝福" value="{{comment}}">
                        </div>
                    </div>
                </div>
                <div class="weui-btn-area">
                    <button class="weui-btn weui-btn_primary" type="submit">生成贺卡</button>
                </div>
            </form>
        <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
        <script src="/apps/js/wx-client-dom.js"></script>
    </body>
</html>
